
package com.zsrt.card.entity;

public class CardEntity {

	/**
	 * 银行卡编号
	 */
	private int id;
	/**
	 * 银行编号
	 */
	private int bankId;
	/**
	 * 银行卡号
	 */
	private String cardNumber;
	/**
	 * 持卡人姓名
	 */
	private String userName;
	/**
	 * 余额
	 */
	private float yue;
	/**
	 * 是否包含芯片 包含为1 未包含为2
	 */
	private int isContain;
	
	/**
	 * 非数据库字段
	 * 银行名称
	 */
	private String bankName;
	/**
	 * 是否包含芯片 有 或 没有
	 */
	private String chipName;
	
	public String getChipName() {
		return chipName;
	}
	public void setChipName(String chipName) {
		this.chipName = chipName;
	}
	public String getBankName() {
		return bankName;
	}
	public void setBankName(String bankName) {
		this.bankName = bankName;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getBankId() {
		return bankId;
	}
	public void setBankId(int bankId) {
		this.bankId = bankId;
	}
	public String getCardNumber() {
		return cardNumber;
	}
	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public float getYue() {
		return yue;
	}
	public void setYue(float yue) {
		this.yue = yue;
	}
	public int getIsContain() {
		return isContain;
	}
	public void setIsContain(int isContain) {
		this.isContain = isContain;
	}
	/**
	 * @param bankId
	 * @param cardNumber
	 * @param userName
	 * @param yue
	 * @param isContain
	 * @param bankName
	 */
	public CardEntity(int bankId, String cardNumber, String userName, float yue, int isContain) {
		super();
		this.bankId = bankId;
		this.cardNumber = cardNumber;
		this.userName = userName;
		this.yue = yue;
		this.isContain = isContain;
	}
	
	public CardEntity(){}
	@Override
	public String toString() {
		return "CardEntity [id=" + id + ", bankId=" + bankId + ", cardNumber=" + cardNumber + ", userName=" + userName
				+ ", yue=" + yue + ", isContain=" + isContain + ", bankName=" + bankName + ", chipName=" + chipName
				+ "]";
	}
	
	
}
